package com.readboottest;

import com.readboottest.util.SpringUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author zhang
 * 项目启动入口
 */
@SpringBootApplication
public class ReadbootTestApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext applicationContext = SpringApplication.run(ReadbootTestApplication.class, args);
        SpringUtil.setApplicationContext(applicationContext);
    }

}
